from django.template import Library

from event.models import SessionType

register = Library()

@register.inclusion_tag("event/table/sessionType.html")
def list_all_session_types():
    return {'sessionType_list': SessionType.objects.all()}

